Hi all, |
Re: Reduce Indent of objects using DXL See 'string applyTextFormattingToParagraph(string s, bool addBullets, int indentLevel, int paraNumber)' in the DXL help. /Anders |
Re: Reduce Indent of objects using DXL a_vestlin - Mon Jul 12 02:32:59 EDT 2010 My code now looks like that: string s RichTextParagraph rp for o in current Module do { s = richText o . "Object Text" for rp in s do { if (rp.indentLevel > 0) { if (!containsOle(o."Object Text")){o."Object Text" = richText(applyTextFormattingToParagraph(s,false,0,0))} } } } Best Regards, Mathias Burchardt |